package com.example.demo.Entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.time.LocalDateTime;

@Data
public class Article {
    public  int id;
    public  String title;
    public  String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    public LocalDateTime createtime;
    public  LocalDateTime updatetime;
    public  int uid;
    public  int rcount;
    public  int state;
}
